#include "copycat.h"

int main( int argc, char *argv[] )
{
	if( argc != 6 )	{
		fprintf( stderr, "usage: %s  copyopt  parse-file  giza(st)  wa(nao)  out-dir\n", argv[0] );
		fprintf( stderr, "    copyopt: r   reordering\n" );
		fprintf( stderr, "             i   insertion\n" );
		fprintf( stderr, "             d   deletion\n" );
		fprintf( stderr, "             ri  reordering & insertion\n" );
		return 1;
	}

#ifdef DEBUG
	fprintf( stdout, "Start to run train\n" );
#endif

	CCopycatTrain copycat;
	if( copycat.Train( argv[1], argv[2], argv[3], argv[4], argv[5] ) == false )	{
	}

#ifdef DEBUG
	fprintf( stdout, "Finish\n" );
#endif

	return 0;
}

